package com.yox.testServer;

import com.yox.rpc.annotation.ServiceScan;
import com.yox.rpc.serializer.CommonSerializer;
import com.yox.rpc.transport.socket.server.SocketServer;

/**
 * Socket服务提供方（服务端）
 */

@ServiceScan
public class SocketTestServer {
    public static void main(String[] args) {
        final SocketServer server = new SocketServer("127.0.0.1", 9000, CommonSerializer.HESSIAN_SERIALIZER);
        server.start();
    }
}
